package com.briup.myblog.service;

import com.briup.myblog.bean.basic.Category;
import com.briup.myblog.bean.ext.CategoryExt;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICategoryService {

    void CategoryBatchDeleteByIds(Integer[] ids);

    void categoryDeleteById(Integer id);

    void findChild(Integer id);

    List<CategoryExt> findCategoryAll();

    PageInfo<CategoryExt> findCategoryAllToPage(Integer pageNum, Integer pageSize);

    void saveCategory(String categoryDescription, String categoryName, Integer categoryOrder, Integer categoryParentId);

    void updateCategory(Category category);

}
